﻿using Ay.MvcFramework;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
/// <summary>
/// 围岩应力
/// </summary>
namespace MPSystem.Models
{
    public class BasicDataSet_SystemModel_WYYL : Model
    {

        
         

    }
   
        /// <summary>
        /// 围岩应力压力--左边
        /// </summary>
        public class WYYL_Left : AyPropertyChanged
     {
        private int _cqbh = -1;
        private int _xdbh = -1;
        private int _cgqksbh;
        private int _cgqzzbh;

        private double _alarmvalue;
        private int _totalsum;
        private string _writecyc;
        private string _selecttype;
      
        private int _ID;
        /// <summary>
        /// 测区编号
        /// </summary>
        public int CQBH { get => _cqbh; set => Set(ref _cqbh, value); }

        /// <summary>
        /// 巷道编号
        /// </summary>
        public int XDBH
        {
            get { return _xdbh; }
            set { Set(ref _xdbh, value); }
        }

        /// <summary>
        ///传感器开始编号
        /// </summary>
        public int CGQQSBH
        {
            get { return _cgqksbh; }
            set { Set(ref _cgqksbh, value); }
        }
        /// <summary>
        /// 传感器终止编号
        /// </summary>
        public int CGQZZBH
        {
            get { return _cgqzzbh; }
            set { Set(ref _cgqzzbh, value); }
        }

        /// <summary>
        ///超前初始预压
        /// </summary>
        public double CQCSYY
        {
            get { return _alarmvalue; }
            set { Set(ref _alarmvalue, value); }
        }
       
        /// <summary>
        /// 记录周期
        /// </summary>
        public string SJJLZQ
        {
            get { return _writecyc; }
            set { Set(ref _writecyc, value); }
        }
        

        public int ID { get => _ID; set => _ID = value; }
        
    }
    /// <summary>
    /// 围岩应力压力--右边
    /// </summary>
    public class WYYL_Right : AyTableViewRowModel
    {
        private int _xdbh;
        private int _cgqbh;
        private double _A;
        private double _B;
        private string _wz;
        private int _zt = -1;
        private string _lx;
        private double _SD;

        /// <summary>
        /// 巷道
        /// </summary>
        public int XDBH { get => _xdbh; set => Set(ref _xdbh, value);  }
        /// <summary>
        /// 传感器
        /// </summary>
        public int CGQBH { get => _cgqbh; set => Set(ref _cgqbh, value); }
        /// <summary>
        /// 类型
        /// </summary>
        public string CGQLX { get => _lx; set => Set(ref _lx, value); }
        /// <summary>
        /// 位置
        /// </summary>
        public string CGQWZ { get => _wz; set => Set(ref _wz, value); }
   

        public int SYZT { get => _zt; set => Set(ref _zt, value); }
        public double SD { get => _SD; set => Set(ref _SD, value); }
    }
    /// <summary>
    /// 围岩应力压力--下面
    /// </summary>
    public class WYYL_Bottom : AyTableViewRowModel
    {
        private int _cqbh = -1;
        private string _cqmc;
        private int _xdbh = -1;
        private string _xdmc;
        private int _cgqksbh;
        private int _cgqzzbh;

        private double _alarmvalue;
        private int _totalsum;
        private string _writecyc;
        private string _selecttype;

        private int _ID;

        /// <summary>
        /// 测区编号
        /// </summary>
        public int CQBH { get => _cqbh; set => Set(ref _cqbh, value); }

        /// <summary>
        /// 测区名称
        /// </summary>
        public string CQMC { get => _cqmc; set => Set(ref _cqmc, value); }

        /// <summary>
        /// 巷道编号
        /// </summary>
        public int XDBH
        {
            get { return _xdbh; }
            set { Set(ref _xdbh, value); }
        }
        /// <summary>
        /// 巷道名称
        /// </summary>
        public string XDMC { get => _xdmc; set => Set(ref _xdmc, value); }

        /// <summary>
        ///传感器开始编号
        /// </summary>
        public int CGQQSBH
        {
            get { return _cgqksbh; }
            set { Set(ref _cgqksbh, value); }
        }
        /// <summary>
        /// 传感器终止编号
        /// </summary>
        public int CGQZZBH
        {
            get { return _cgqzzbh; }
            set { Set(ref _cgqzzbh, value); }
        }

        /// <summary>
        ///超前初始预压
        /// </summary>
        public double CQCSYY
        {
            get { return _alarmvalue; }
            set { Set(ref _alarmvalue, value); }
        }

        /// <summary>
        /// 记录周期
        /// </summary>
        public string SJJLZQ
        {
            get { return _writecyc; }
            set { Set(ref _writecyc, value); }
        }


        public int ID { get => _ID; set => _ID = value; }
        
    }
    

   
}
